package com.deyuanyun.pic.pipe.service.impl;

import com.deyuanyun.pic.pipe.controller.dto.PipeBaseQuery;
import com.deyuanyun.pic.pipe.domain.Gww;
import com.deyuanyun.pic.pipe.domain.GwwDetection;
import com.deyuanyun.pic.pipe.domain.bo.GwwMergeBO;
import com.deyuanyun.pic.pipe.mapper.dao.GwwDao;
import com.deyuanyun.pic.pipe.service.GwwService;
import com.github.pagehelper.Page;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class GwwImpl implements GwwService {

	@Resource
	private GwwDao gwwDao;

	@Override
	public Page<GwwMergeBO> queryGwwMerge(PipeBaseQuery pipeBaseQuery) {
		return gwwDao.queryGwwMerge(pipeBaseQuery);
	}

	@Override
	public List<Gww> queryGww(PipeBaseQuery pipeBaseQuery) {
		return gwwDao.queryGww(pipeBaseQuery);
	}

	@Override
	public List<GwwDetection> queryGwwDetection(PipeBaseQuery pipeBaseQuery) {
		return gwwDao.queryGwwDetection(pipeBaseQuery);
	}

	@Override
	public Gww findGww(String id) {
		return gwwDao.findGww(id);
	}

	@Override
	public List<GwwDetection> queryGwwDetection(String id) {
		return gwwDao.findGwwDetection(id);
	}
}
